package com.sxbbc.common.core.mapper.jz;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxbbc.common.core.entity.jz.ProcBrandInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 产品品牌信息表 Mapper 接口
 * </p>
 *
 * @author leehao
 * @since 2019-05-06
 */
public interface ProcBrandInfoMapper extends BaseMapper<ProcBrandInfo> {

    /**
     * 查询所有可用的品牌id
     * @author leehao
     * @return List<Integer>
     */
    @Select("select id from proc_brand_info where status = 1")
    List<Integer> queryBrandIdsList();
}
